//
//  BaseView.m
//  JTProject
//
//  Created by Yuki on 2021/3/9.
//

#import "BaseView.h"

@implementation BaseView

///xib创建
- (void)awakeFromNib{
    [super awakeFromNib];
    [self _setupView];
}

///代码创建
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        ///创建界面
        [self _setupView];
    }
    return self;
}

///创建界面
- (void)_setupView{
    self.backgroundColor = ColorHex(0xffffff, 1);
}

@end
